class Computer {
    String brand;	//品牌
}
public class SxtStu {
    // field
    int id;
    String sname;
    int age;
    Computer comp;
    void study() {
        System.out.println("我正在学习！使用我们的电脑，"+comp.brand);
    }
    SxtStu() {
    }
    public static void main(String[] args) {
        SxtStu s = new SxtStu();
        s.sname = "张三";
        Computer c1 = new Computer();
        c1.brand = "联想";
        s.comp = c1;
        s.study();
    }
}